var normalChartBody = `
<div class="chart-item">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div class="chart" data-model="{{d.modelId||''}}"></div>
    </div>
</div>
`;

var jbglztgs = `
<div class="chart-item">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div class="map" style="width: 100%;height: 100%;"></div>
    </div>
</div>
`;

var qyzhxxTemp = `
<div class="chart-item">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div>
            <div class="layui-row">
                <div class="layui-col-lg4">
                    <div>签约人数</div>
                    <div><span id="qyrs"></span></div>
                </div>
                <div class="layui-col-lg4">
                    <div>家医团队数</div>
                    <div><span id="jytds"></span></div>
                </div>
                <div class="layui-col-lg4">
                    <div>家医人数</div>
                    <div><span id="jyrs"></span></div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-lg6">
                    <div>每千人医生数</div>
                    <div><span id="mqryss"></span></div>
                </div>
                <div class="layui-col-lg6">
                    <div>重点人群签约服务覆盖率</div>
                    <div><span id="zdrq"></span></div>
                </div>
            </div>
        </div>
        <div class="chart" data-model="{{d.modelId||''}}"></div>
    </div>
</div>
`;

var jmjkdzzhxx = `
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body" style="flex-direction: row;">
        <div class="chart" data-model="10401"></div>
        <div class="chart" data-model="10402"></div>
    </div>
</div>
`;

var ylzljkPies = `
<div class="chart-item  ">
    <!--<div class="title">-->
    <!--<p></p><span>{{d.title}}</span>-->
    <!--</div>-->
    <div class="normal-chart-body" style="flex-direction: row;height: 100%;top: 0;">
        <div style="width: 100%;height: 90%;margin:10% 0 0 0">
            <div class="layui-row flex">
                <div class="chart layui-col-lg6" data-model="10501"></div>
                <div class="chart layui-col-lg6" data-model="10502"></div>
            </div>
            <div class="layui-row flex">
                <div class="chart layui-col-lg6" data-model="10503"></div>
                <div class="chart layui-col-lg6" data-model="10504"></div>
            </div>
            <div class="layui-row flex">
                <div class="chart layui-col-lg6" data-model="10505"></div>
                <div class="chart layui-col-lg6" data-model="10506"></div>
            </div>
        </div>
    </div>
</div>
`;


var wszyfbjkxq = `
<div class="chart-item  ">
    <!--<div class="title">-->
    <!--<p></p><span>{{d.title}}</span>-->
    <!--</div>-->
    <div class="normal-chart-body" style="flex-direction: column;">
        <div class="map" style="height: 300px;width: 100%;">
        </div>
        <div class="flex" style="flex: 1;flex-direction: row;">
            <div style="flex: 1;padding: 4em 0;">
                <div><span id="yy" style="font-size: 1.2em;margin: 2em;"></span></div>
                <ul style="text-align: left;padding: 0 15%;display: flex;flex-direction: column;height: 10em;justify-content: space-around;">
                    <li>医生:<span id="ys"></span></li>
                    <li>护士:<span id="hs"></span></li>
                    <li>医技:<span id="yj"></span></li>
                    <li>床位:<span id="cw"></span></li>
                </ul>
            </div>
            <div class="chart" data-model="{{d.modelId||''}}" style="height: 100%;flex: 2;"></div>
        </div>

    </div>
</div>
`;

var bcsyqk=`
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div style="height: 100%;width: 100%;display: table;">
            <div style="display: table-row;">
                <div style="display: table-cell;vertical-align: middle;">
                    <p>病床周转次数</p>
                    <u><span id="bczzcs"></span>次/年</u>
                </div>
                <div style="display: table-cell;vertical-align: middle;">
                    <p>平均病床工作日</p>
                    <u><span id="pjbcgzr"></span>天</u>
                </div>
            </div>
            <div style="display: table-row;">
                <div style="display: table-cell;vertical-align: middle;">
                    <p>病床使用率</p>
                    <u><span id="bcsyl"></span>%</u>
                </div>
                <div style="display: table-cell;vertical-align: middle;">
                    <p>出院患者平均住院日</p>
                    <u><span id="cyhzpjzyr"></span>天</u>
                    <div class="chart" style="display: none;"></div>
                </div>
            </div>
        </div>
    </div>
</div>
`;


var qyylzyzl = `
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div style="height: 100%;width: 100%;display: flex;flex-direction: row;">
            <div class="flex" style="flex: 1;justify-content: space-around;padding: 1em 0;">
                <div style="min-height: 1.2rem;">医疗机构<span style="color:#009fda;">[ &nbsp;<span id="yljg"
                                                                                                style="color:#009fda;">-</span>&nbsp; ]</span>
                </div>
                <div style="min-height: 1.2rem;">注册医师<span style="color:#009fda;">[ &nbsp;<span id="zcys"
                                                                                                style="color:#009fda;">-</span>&nbsp; ]</span>
                </div>
                <div style="min-height: 1.2rem;">注册护士<span style="color:#009fda;">[ &nbsp;<span id="zchs"
                                                                                                style="color:#009fda;">-</span>&nbsp; ]</span>
                </div>
                <div style="min-height: 1.2rem;">医技人员<span style="color:#009fda;">[ &nbsp;<span id="yjry"
                                                                                                style="color:#009fda;">-</span>&nbsp; ]</span>
                </div>
                <div style="min-height: 1.2rem;">开发床位<span style="color:#009fda;">[ &nbsp;<span id="kfcw"
                                                                                                style="color:#009fda;">-</span>&nbsp; ]</span>
                </div>
            </div>
            <div class="flex" style="flex: 1;">
                <div style="height: 2rem;">每千人医师 <span id="mqrys">123</span></div>
                <div style="height: 2rem;">每千人护士 <span id="mqrhs">123</span></div>
                <div style="height: 2rem;">每千人床位 <span id="mqrcw">123</span></div>
            </div>
        </div>
    </div>
</div>
`;

var qyylzyzlMap = `
<div class="chart-item">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div class="map" style="height: 100%;width: 100%;"></div>
    </div>
</div>
`;

var hlyyjc=`
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body" style="flex-direction: row;">
        <div class="chart" data-model="10703"></div>
        <div class="chart" data-model="10704"></div>
    </div>
</div>
`;

var ylzljc=`
<div class="chart-item  ">
    <div class="title">
        <span>{{d.title}}</span>
        <p></p>
    </div>
    <div class="normal-chart-body" style="flex-direction: column;">
        <div style="height: 3em;flex: unset;" class="flex">
            <span>
                住院患者死亡数(列) &nbsp;<span id="zyhzsws"></span>
            </span>
        </div>
        <div class="flex" style="flex-direction: row;">
            <div class="chart" data-model="10601" style="height: 100%;"></div>
            <div class="chart" data-model="10602" style="height: 100%;"></div>
            <div class="chart" data-model="10603" style="height: 100%;"></div>
            <div class="chart" data-model="10604" style="height: 100%;"></div>
        </div>

    </div>
</div>
`;


var ylbxfyjc=`
<div class="chart-item">
    <div id="mz" class="chart-item hidden show" style="position: absolute;">
        <div class="chart-item">
            <div class="title">
                <p></p>
                <span>{{d.title}}</span>
            </div>
            <div class="normal-chart-body" style="flex-direction: row;">
                <div style="flex:1;padding: 1.6em 5em;display: flex;">
                    <div class="flex" style="border: 1px solid blue;">
                        <div class="flex">
                            医疗保险费用<br>
                            <span><span id="ylbxfy">-</span>万元</span>
                        </div>
                        <div class="line"></div>
                        <div class="flex">
                            患者自费费用<br>
                            <span><span id="hzzffy">-</span>万元</span>
                        </div>
                    </div>
                </div>
                <div class="chart" data-model="10701"></div>
            </div>
        </div>
    </div>
    <div id="zy" class="chart-item hidden" style="position: absolute;">
        <div class="chart-item">
            <div class="title">
                <span>{{d.title1}}</span>
                <p></p>
            </div>
            <div class="normal-chart-body" style="flex-direction: row;">
                <div style="flex:1;padding: 1.6em 5em;display: flex;">
                    <div class="flex" style="border: 1px solid blue;">
                        <div class="flex">
                            医疗保险费用<br>
                            <span><span id="ylbxfy">-</span>万元</span>
                        </div>
                        <div class="line"></div>
                        <div class="flex">
                            患者自费费用<br>
                            <span><span id="hzzffy">-</span>万元</span>

                        </div>
                    </div>
                </div>
                <div class="chart" data-model="10702"></div>
            </div>
        </div>
    </div>
</div>
`;


var jyqyjc=`
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body" style=";flex-direction: row;">
        <div style="flex: 1;display: flex;justify-content: space-around; flex-direction: column;">
            <div>
                家医团队数
                <div style="border-bottom: 1px solid blue;width: 8em;margin: auto;">
                    <span id="jytds" style="color: orange;font-size: 20px;">-</span>
                </div>
            </div>
            <div>
                签约家庭数
                <div style="border-bottom: 1px solid blue;width: 8em;margin: auto;">
                    <span id="qyjts" style="color: orange;font-size: 20px;">-</span>
                </div>
            </div>
            <div>
                建档数
                <div style="border-bottom: 1px solid blue;width: 8em;margin: auto;">
                    <span id="jds" style="color: orange;font-size: 20px;">-</span>
                </div>
            </div>
        </div>
        <div class="chart" data-model="{{d.modelId||''}}"></div>
    </div>
</div>
`;

var mxjbgl = `
<div class="chart-item  ">
    <div class="title">
        <p></p><span>{{d.title}}</span>
    </div>
    <div class="normal-chart-body">
        <div class="layui-tab layui-tab-brief flex" style="flex-direction: column;" lay-filter="mxjbgl-tabs">
            <ul class="layui-tab-title">
                <li class="layui-this">高血压</li>
                <li>糖尿病</li>
                <li>心脏病</li>
                <li>重型精神疾病</li>
            </ul>
            <div class="layui-tab-content flex" style="flex-direction: row;width: 100%;position: relative;">
                <div style="height:100%;width:100%;position: absolute;" data-model="10300"
                     class="chart layui-hide layui-tab-item layui-show">1
                </div>
                <div style="height:100%;width:100%;position: absolute;" data-model="10301"
                     class="chart layui-hide layui-tab-item"></div>
                <div style="height:100%;width:100%;position: absolute;" data-model="10302"
                     class="chart layui-hide layui-tab-item"></div>
                <div style="height:100%;width:100%;position: absolute;" data-model="10303"
                     class="chart layui-hide layui-tab-item"></div>
            </div>
        </div>
    </div>
</div>
`;